package com.li.jiang.utils.role;

/**
 * 登录的类型枚举类
 */
public enum Role {
    TOURIST(4L,"游客"),
    COMPANY(3L,"企业"),
    STUDENT(2L,"学生"),
    ADMIN(1L,"管理员");

    private Long rid;
    private String role;
    Role(Long rid, String role) {
        this.rid = rid;
        this.role = role;
    }
    public Long getRid() {
        return rid;
    }

    public void setRid(Long rid) {
        this.rid = rid;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
